package com.learn.micro_mall.domain.vo.member;

import lombok.Data;

@Data
public class UpgradeConfigurationVO {

    /**
     * 等级值要求
     */
    private Integer levelPoint;

    public void valid() throws Exception {
        if(levelPoint < 0){
            throw new Exception("等级值设置不正确");
        }
    }
}
